package ModelLayer;

public class Protocol
{
    // instance variables - replace the example below with your own
    Offer offer;
    double materialTotalPrice;
    double labourTotalPrice;

    
    public Protocol(Offer offer)
    {
        this.offer = offer;
        materialTotalPrice = 0;
        labourTotalPrice = 0;
    }

    public Offer getOffer()
    {
        return offer;
    }
    public double getMaterialTotalPrice()
    {
        return materialTotalPrice;
    }
    public double getLabourTotalPrice()
    {
        return labourTotalPrice;
    }
    public void setOffer(Offer offer)
    {
        this.offer = offer;
    }
    public void setMaterialTotalPrice(double materialTotalPrice)
    {
        this.materialTotalPrice = materialTotalPrice;
    }
    public void setLabourTotalPrice(double labourTotalPrice)
    {
        this.labourTotalPrice = labourTotalPrice;
    }
}
